home *** CD-ROM | disk | FTP | other *** search
Wrap
00012200 0 88020002 8 customer 80012201 1 80012202 0 88022203 8 customer __][)(__ 00012200 1 88020002 5 order 80012201 1 80012202 0 88022203 6 orders __][)(__ 00012200 2 88020002 6 placed 80012201 9 80012202 0 88022203 6 placed __][)(__ 00012300 3 80010001 0 88020002 4 City 88022301 8 customer 88022302 9 cust_city 80012303 0 __][)(__ 00012300 4 80010001 1 88020002 6 Amount 88022301 6 orders 88022302 A ord_amount 80012303 0 __][)(__ 00010800 5 88020002 E Sales by City2 80010801 0 80010802 0 88020803 C5 select customer.cust_city, AVG (orders.ord_amount) from customer, orders where ((orders.ord_amount >= «amount»)) and customer.cust_num = orders.cust_nr group by customer.cust_city order by 2 desc ; __][)(__ 00010900 6 80010001 5 80010901 0 __][)(__ 00010900 7 80010001 5 80010901 1 __][)(__ 00010900 8 80010001 5 80010901 2 __][)(__ 00010A00 9 80010001 5 80010A01 6 80010A02 3 80010A03 1 __][)(__ 00010A00 A 80010001 5 80010A01 7 80010A02 4 80010A03 2 __][)(__ 00010C00 B 80010001 5 80010C01 0 80010C02 1 80040C03 92 43 9C 57 __][)(__ 00010D00 C 80010001 B 80010D01 7 80010D02 4 80010D03 6 88020D05 8 «amount» __][)(__ 00010B00 D 80010001 5 80010B01 7 80010B02 8 __][)(__ 00010B00 E 80010001 5 80010B01 6 80010B02 8 __][)(__ 00010F00 F 80010001 5 80010F01 7 80010F02 4 80010F03 2 __][)(__ 00011000 10 80010001 5 80011001 6 80011002 3 80011003 0 __][)(__